<template>
	<view class="container">
		<view class="d-app">
			<view class="left">
				<image :src="$img_path('/mall/5.png')" mode="aspectFill"></image>
				<view class="info">
					<view class="name">
						软件名称服务人员版
					</view>
					<view class="text">
						你有能力，我有舞台
					</view>
				</view>
			</view>
			<button>下载APP</button>
		</view>
		<view class="success">
			<image :src="$img_path('/course/pay_s.png')" mode="widthFix"></image>
			<view class="text">
				<view>您的信息提交成功</view>
				<view>稍后会有工作人员联系您</view>
				<view>您可先行下载软件名称服务人员版APP</view>
			</view>
		</view>
		<view class="btn">
			<button class="back" @click="back">返回</button>
			<button class="home" @click="toHome">首页</button>
		</view>
	</view>
</template>

<script>
	import popupBox from '@/components/popup/popup.vue'
	export default {
		components:{
			popupBox
		},
		data() {
			return {
				
			};
		},
		methods:{
			toHome(){
				uni.reLaunch({
					url:'/pages/index/index'
				})
			},
			back(){
				uni.navigateBack()
			}
		}
	}
</script>
<style>
	page{
		background-color: #FFFFFF;
	}
</style>
<style lang="scss" scoped>
.container{
	.d-app{
		width: 100%;
		padding: 16rpx 22rpx;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background-color: #FFFFFF;
		border: 2rpx solid #DBDBDB;
		.left{
			display: flex;
			&>image{
				width: 92rpx;
				height: 92rpx;
			}
			.info{
				padding-left: 20rpx;
				.name{
					font-weight: bold;
					font-size: 32rpx;
					color: #000000;
					line-height: 44rpx;
				}
				.text{
					font-weight: 400;
					font-size: 24rpx;
					color: #717171;
					line-height: 34rpx;
					margin-top: 8rpx;
				}
			}
		}
		&>button{
			width: 158rpx;
			height: 56rpx;
			background: #E72A2A;
			border-radius: 38rpx;
			font-weight: 400;
			font-size: 28rpx;
			color: #FFFFFF;
			line-height: 56rpx;
		}
	}
	.success{
		padding: 48rpx 0 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		&>image{
			width: 215rpx;
			height: 215rpx;
		}
		.text{
			font-weight: bold;
			font-size: 28rpx;
			color: #000000;
			line-height: 40rpx;
			text-align: center;
			margin-top: 26rpx;
		}
	}
	.btn{
		padding: 162rpx 0 0;
		display: flex;
		justify-content: center;
		button{
			width: 270rpx;
			height: 96rpx;
			border-radius: 80rpx;
			font-weight: bold;
			font-size: 36rpx;
			line-height: 96rpx;
			&.back{
				background: #EEEEEE;
				color: #B4B4B4;
			}
			&.home{
				background: linear-gradient( 135deg, #FFA233 0%, #FB4C4C 100%);
				color: #FFFFFF;
				margin-left: 40rpx;
			}
		}
	}
}

</style>
